package org.stone926.airschool.dao;

import java.util.List;

import org.stone926.airschool.bean.Teacher;

public interface TeacherDao {

	public Teacher getTeacherById(Integer tid);

	public List<Teacher> getAllTeachers();

	public int updateTeacher(Teacher teacher);

	public int insertTeacher(Teacher teacher);

	public Teacher getTeacherByPhoneNumber(String phonenumber);

	public Teacher getTeacherByName(String tname);
}
